package my.jieh.tips.lock;

public class BenchmarkSynchronize implements BenchmarkCounter {

  private long count = 0;

  public BenchmarkSynchronize() {
  }

  public long getValue() {
    return count;
  }

  public synchronized void increment() {
    count++;
  }

} // end class BenchmarkSynchrionize
